package com.xh.demo.dao.mapper;

import com.xh.demo.domain.po.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Name UserMapper
 * @Description
 * @Author wen
 * @Date 2019-07-31
 */
public interface UserMapper {

    int insert(User user);

    User selectById(@Param("id") long id);

    List<User> selectAll();
}
